package com.cloud.Service;


import com.cloud.pojo.UserInfo;

import java.util.List;
import java.util.Map;

/**
 * @Author: Tangtao
 * @Date: 2022/4/11 12:58
 * @Description: User personal information management service layer
 * @ClassName: UserInfoService
 */
public interface UserInfoService {

    public boolean register(UserInfo userInfo);

    public Map<String, String> loginByCardId(Map<String,String> map);

    public Map<String, String> loginByPhoneNumber(Map<String,String> map);

    public boolean updateUserInfo(Map<String,String> map);

    public boolean updateUserType(Map<String,String> map);

    public Map<String, String> getInfo();

    public boolean updatePwd(Map<String,String> map);

    public List<UserInfo> getAllUserInfo();

    public boolean deleteUserInfo(Map<String,String> map);
}
